package com.zhanghe.springboot.model;

import java.util.List;

public class Teacher {
	public String id;
	public String name;
	
	public List<Student> students;
	
	public List<Student> getStudents() {
		return students;
	}
	public void setStudents( List<Student> students ) {
		this.students = students;
	}
	public String getId() {
		return id;
	}
	public void setId( String id ) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName( String name ) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "TestModel [id=" + id + ", name=" + name + ",students:"+students+"]";
	}  
}
